package com.cssl.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cssl.entity.Items;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;
@Mapper
public interface ItemsMapper extends BaseMapper<Items> {

    //public IPage<Items> selectAll(Page<Items> page, String title);

    public List<Map<String,Object>> selectId(int sid);
    public IPage<Items> selectAll(Page<Items> page, String title,int sid);
}
